package com.liang.blog.security.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author：YanWenLiang
 * @Date:2023-08-25-15:40
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE })
public @interface HasPermission {
    /**
     * 需要的权限
     * @return
     */
    String value() default "";
}
